package A1_4;

public class Cash implements Payment{
    private double cashTendered;

    public Cash(double cashTendered) {
        this.cashTendered = cashTendered;
    }

    @Override
    public double getAmount() {
        return cashTendered;
    }
}
